//
//  keyboardData.m
//  BeautyPicture
//
//  Created by 沈振邦 on 15/11/6.
//  Copyright © 2015年 szb. All rights reserved.
//

#import "keyboardData.h"
#import "keyboardModel.h"

@implementation keyboardData

- (id)init
{
    self = [super init];
    if (self) {
        _datas = [NSMutableArray array];
        NSArray *textColors = [NSArray arrayWithObjects:@"#000000",@"#333333",@"#5f423a",@"#82634f",@"#6c3c4c",@"#102447",@"#806b92",@"#c45e6b",@"#c26400",@"#c26401",@"#3d6b8c",@"#717171",@"#93a6aa",@"#44abb4",@"#a99966",@"#a6806b",@"#b8a69a",@"#bdd8cf",@"#e0d8c3",@"#Bcbcbc",@"#Dcdcdc",@"#ffffff", nil];
        
        for (int i = 0; i < textColors.count; i++) {
            keyboardModel *model = [[keyboardModel alloc] init];
            model.textType = @"颜色";
            model.textColor = textColors[i];
            [_datas addObject:model];
        }

        // 字体
        NSArray *textFonts = [NSArray arrayWithObjects:@"FZHTJW--GB1-0",@"FZZDXJW--GB1-0",@"FZQKBYSJW--GB1-0",@"FZXXLFW--GB1-0",@"FZJLJW--GB1-0", nil];
        for (int i = 0; i < textFonts.count; i ++) {
            keyboardModel *model = [[keyboardModel alloc] init];
            model.textType = @"字体";
            model.textFont = textFonts[i];
            [_datas addObject:model];
        }
        
        
        for (int i = 0; i < 6; i++) {
            keyboardModel *model = [[keyboardModel alloc] init];
            model.textType = @"字号";
            model.textSize = (i)*2 + 10;
            [_datas addObject:model];
        }
        
    }
    return self;
}

@end
